// import { combineReducers } from "redux";
// // import { Locations } from "./head";
// import { param } from "./param";
// import { listFilter } from "./selectParam";
// import { list } from "./list";
// import { listScroll } from "./listScroll";

import { makeAutoObservable } from "mobx";
import { List } from "./list";
import { ListFilter } from "./selectParam";
import { ListScroll } from "./listScroll";
import { SearchParam } from "./param";

// export default combineReducers({ param, listFilter, list, listScroll });

export class Store {
  list = new List();
  listFilter = new ListFilter();
  listScroll = new ListScroll();
  searchParam = new SearchParam();
  constructor() {
    makeAutoObservable(this);
  }
}

export default new Store();
